package cn.iocoder.yudao.module.biz.controller.admin.contract.receive.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 合同档案-分期收款 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ReceiveRecordRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15973")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "合同档案id", example = "2931")
    @ExcelProperty("合同档案id")
    private Long contractArchiveId;

    @Schema(description = "分期数", example = "21354")
    @ExcelProperty("分期数")
    private Integer instalmentCount;

    @Schema(description = "状态", example = "2")
    @ExcelProperty("状态")
    private String status;

    @Schema(description = "收款日期")
    @ExcelProperty("收款日期")
    private LocalDateTime receiveDate;

    @Schema(description = "收款金额")
    @ExcelProperty("收款金额")
    private BigDecimal receiveMoney;

    @Schema(description = "发票号")
    @ExcelProperty("发票号")
    private String receiptCode;

    @Schema(description = "已收金额")
    @ExcelProperty("已收金额")
    private BigDecimal alreadyReceiveMoney;

    @Schema(description = "对应服务期")
    @ExcelProperty("对应服务期")
    private String serviceTerm;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "坏账原因", example = "不对")
    @ExcelProperty("坏账原因")
    private String badDebtReason;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "是否有效", example = "1")
    private String isValid;

}